.cart-title {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 16px 0 16px;
  font-weight: 700;
  font-size: 28px;
}
.cart-page {
  background-color: #f8f9fa;
  position: relative;
  /* // 导航栏样式 */
  /* // 主容器 */
  /* // 购物车内容区域 */
  /* // 空购物车样式 */
  /* // 购物车商品项 */
  /* // 结算栏 */
  /* // 加载动画 */
  /* // 响应式设计 - PC端适配 */
  /* // 动画效果 */
}
.cart-page .cart-navbar {
  background: linear-gradient(135deg, #3498db 0%, #1a56db 100%);
  color: white;
  position: sticky;
  top: 0;
  z-index: 100;
}
.cart-page .cart-navbar :deep(.van-nav-bar__title) {
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}
.cart-page .cart-navbar :deep(.van-icon) {
  color: white;
}
.cart-page .cart-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  transition: all 0.3s ease;
}
.cart-page .cart-content {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  margin-bottom: 20px;
}
.cart-page .empty-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}
.cart-page .empty-cart .empty-cart-icon {
  font-size: 80px;
  color: #c0c4cc;
  margin-bottom: 20px;
}
.cart-page .empty-cart .empty-cart-text {
  font-size: 18px;
  color: #909399;
  margin-bottom: 30px;
}
.cart-page .empty-cart :deep(.van-button) {
  width: 200px;
  font-weight: 500;
}
.cart-page .cart-item {
  display: flex;
  padding: 16px;
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
  position: relative;
}
.cart-page .cart-item:hover {
  background-color: #f9f9ff;
}
.cart-page .cart-item .item-checkbox {
  display: flex;
  align-items: center;
  margin-right: 12px;
}
.cart-page .cart-item .item-image {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  overflow: hidden;
  margin-right: 15px;
  flex-shrink: 0;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cart-page .cart-item .item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-page .cart-item .item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.cart-page .cart-item .item-info .item-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
  color: #1a1a1a;
  line-height: 1.4;
}
.cart-page .cart-item .item-info .item-spec {
  font-size: 13px;
  color: #909399;
  margin-bottom: 8px;
  background: #f8f9fa;
  padding: 3px 8px;
  border-radius: 4px;
  display: inline-block;
}
.cart-page .cart-item .item-info .item-price {
  font-weight: bold;
  color: #e74c3c;
  font-size: 16px;
  margin-top: 8px;
}
.cart-page .cart-item .item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
}
.cart-page .cart-item .item-actions .delete-btn {
  color: #f56c6c;
  font-size: 14px;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 4px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
}
.cart-page .cart-item .item-actions .delete-btn:hover {
  background: #fef0f0;
}
.cart-page .cart-item .item-actions .delete-btn .van-icon {
  margin-right: 4px;
  font-size: 18px;
}
.cart-page .checkout-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  padding: 12px 16px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  transition: all 0.3s ease;
}
.cart-page .checkout-bar .total-info {
  display: flex;
  align-items: center;
}
.cart-page .checkout-bar .total-price {
  font-size: 18px;
  font-weight: 600;
  color: #e74c3c;
  margin-left: 15px;
}
.cart-page .checkout-bar :deep(.van-button) {
  width: 130px;
  font-weight: 500;
}
.cart-page .loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.cart-page .loading-overlay .loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(52, 152, 219, 0.2);
  border-radius: 50%;
  border-top: 4px solid #3498db;
  animation: spin 1s linear infinite;
}
@media (min-width: 768px) {
  .cart-page .cart-container {
    padding: 20px 30px;
    padding-top: 70px;
  }
  .cart-page .cart-content {
    margin-bottom: 30px;
    height: 75vh;
    overflow-y: scroll;
  }
  .cart-page .item-image {
    width: 120px;
    height: 120px;
  }
  .cart-page .cart-item {
    padding: 20px;
  }
  .cart-page .checkout-bar {
    position: sticky;
    bottom: 10px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 12px;
    /* left: 50%; */
    /* transform: translateX(-50%); */
    width: calc(100% - 60px);
    padding: 15px 25px;
  }
  .cart-page .item-title {
    font-size: 17px;
  }
  .cart-page .item-price {
    font-size: 17px;
  }
  .cart-page .empty-cart {
    padding: 80px 20px;
  }
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.cart-page .van-swipe-cell__right {
  display: flex;
}
.cart-page .delete-btn-large {
  height: 100%;
}
.Payment {
  border: 1px solid #e5e5e5;
  border-right-color: transparent;
  border-left-color: transparent;
  padding: 6px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 800;
}
